﻿using System;
using CommunityToolkit.Mvvm.ComponentModel;

namespace AvaloniaApplication1.Models.DTOModel;

public partial class RegisterDataPoints : ObservableObject
{
    /// <summary>
    /// 寄存器地址
    /// </summary>
    [ObservableProperty] private int _address;

    /// <summary>
    /// 寄存器名称
    /// </summary>
    [ObservableProperty] private string _name;

    /// <summary>
    /// 寄存器值
    /// </summary>
    [ObservableProperty] private int _reisterValue;

    [ObservableProperty] private DateTime _lastUpdateTime = DateTime.Now;
}